import vueRouter from '../vuerouter'
import Vue from 'vue'
Vue.use(vueRouter)
const routes = [
  {
    path: '/',
    name: 'Index',
    component: () => import(/*webpackChunkName:"index"*/ '../views/Index.vue')
  },
  {
    path: '/blog',
    name: 'Blog',
    component: () => import(/*webpackChunkName:"blog"*/ '../views/Blog.vue')
  }
]
const router = new vueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})
export default router